const api = require("../../../../utils/api")
Page({
  data: {
  },


  toSf: function () {
    wx.navigateTo({
      url: '../submit/submit?area=' + this.data.area + '&agent=' +  this.data.agent + '&page=' +  this.data.page,
    })
  },
  toCk: function () {
    wx.navigateTo({
      url: '../search/search?area=' + this.data.area + '&agent=' +  this.data.agent + '&page=' +  this.data.page,
    })
  },

  tozgjy:function(){
    wx.navigateToMiniProgram({
      appId: 'wxca86930ec3e80717', //模考appid
      path: 'page/course/details?mis=ghn62534&id=1361117', //模考
      envVersion: 'release', //develop（开发版），trial（体验版），release（正式版） 
      success(res) {
        console.log('打开成功！')
      }
    })
  },
  onLoad: function (options) {
    api.load(options)
  },

    /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
  
})